<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@page import="org.jasig.cas.client.validation.Assertion"%>  
<%@page import="org.jasig.cas.client.util.AbstractCasFilter"%>  
<%@page import="org.jasig.cas.client.authentication.AttributePrincipal"%>  

<%
//单点登录后相关处理 开始
AttributePrincipal principal = (AttributePrincipal) request.getUserPrincipal(); 
if(principal != null && principal.getName() != null){
	final String url = request.getContextPath() + "/sso.do?u=" + principal.getName();
	response.sendRedirect(url);
} 
%>